package com.ruoyi.project.dict.shuowenpage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 说文解字对象 shuowen_page
 *
 * @author shixiangwen
 * @date 2022-05-27
 */
public class ShuowenPage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    private byte[] ziBytes;

    /**
     * 字
     */
    @Excel(name = "字")
    private String zi;

    /**
     * unicode
     */
    @Excel(name = "unicode")
    private Long ziId;

    /**
     * 外部ID
     */
    @Excel(name = "外部ID")
    private Long ziOutId;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String img;

    /**
     * 拼音
     */
    @Excel(name = "拼音")
    private String pinyin;

    /**
     * 拼音首字母
     */
    @Excel(name = "拼音首字母")
    private String firstPinyin;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 笔划
     */
    @Excel(name = "笔划")
    private Long bihua;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public byte[] getZiBytes() {
        return ziBytes;
    }

    public void setZiBytes(byte[] ziBytes) {
        this.ziBytes = ziBytes;
    }

    public String getZi() {
        return zi;
    }

    public void setZi(String zi) {
        this.zi = zi;
    }

    public void setZiId(Long ziId) {
        this.ziId = ziId;
    }

    public Long getZiId() {
        return ziId;
    }

    public void setZiOutId(Long ziOutId) {
        this.ziOutId = ziOutId;
    }

    public Long getZiOutId() {
        return ziOutId;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setFirstPinyin(String firstPinyin) {
        this.firstPinyin = firstPinyin;
    }

    public String getFirstPinyin() {
        return firstPinyin;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setBihua(Long bihua) {
        this.bihua = bihua;
    }

    public Long getBihua() {
        return bihua;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("zi", getZi()).append("ziId", getZiId()).append("ziOutId", getZiOutId()).append("img", getImg()).append("pinyin", getPinyin()).append("firstPinyin", getFirstPinyin()).append("status", getStatus()).append("bihua", getBihua()).toString();
    }
}
